<script setup >
import Pagination from './components/pagination.vue'

</script>
<template>
  <div class="focus-brand">
    <h3>关注的品牌</h3>
    <div class="box">
      <div class="line"></div>
      <div v-for="item in 12" :key="item" class="box-detail">
        <div class="box-detail-top">
          <a href="javascript:;" style="color:#999;"><i class="iconfont icon-dingwei"></i>中国</a>
          <a href="javascript:;" style="color:#27bb9a;">取消关注</a>
        </div>
        <div class="box-detail-center">
          <a href="javascript:;">
            <img src="../../../../images/my-center1.webp" alt="">
          </a>

        </div>
        <div class="box-detail-buttom">
          <p>我是一个大瓜瓜</p>
          <p style="padding-top: 10px;">我不是一个大瓜皮</p>
        </div>
      </div>
    </div>
    <!-- 分页 -->
    <Pagination></Pagination>
  </div>
</template>
<style scoped lang="less">
@import '../Brand/icon/iconfont.css';

.focus-brand {
  width: 994px;
  background-color: rgb(252, 255, 255);

  h3 {
    font-size: 16px;
    font-weight: normal;
    padding: 25px;
  }

  .box {
    width: 995px;
    position: relative;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;

    .line {
      position: absolute;
      top: -22px;
      left: -20px;
      width: 995px;
      height: 1px;
      border: 1px solid #f4f5f4;
      margin: 20px;
    }

    .box-detail {
      width: 300px;
      height: 230px;
      margin-top: 20px;
      background-color: #fff;
      // background-color: #ca7070;
      border: 1px solid #eee;
      border-radius: 4px;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      align-items: center;

      &:hover {

        // box-shadow: #eee;
        box-shadow: 0 4px 8px 0 #e4e4e4, 0 6px 20px 0 #e4e4e4;
        text-align: center;
      }

      .box-detail-top {
        width: 80%;
        display: flex;
        justify-content: space-between;

        a {
          font-size: 16px;
        }
      }

      .box-detail-buttom {
        width: 100%;
        text-align: center;
      }
    }
  }

}
</style>
